package com.gyl.gitstudy.mapper;

import com.gyl.gitstudy.pojo.user;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


import java.util.List;

//@mapper和@repository不用写好像也可以
@Mapper
@Repository
public interface userMapper {
    List<user> queryUserList();
    user userById(int id);

}
